<#-- This is a Freemarker Template for generating Service Interface Files for the application -->
<#-- This code is INCOMPLETE -->

package ${appNamespace}.${component.name}.dao;

import java.util.List;
import ${appNamespace}.${component.name}.model.${clazz.className};

public interface ${clazz.className}Dao {
	public ${clazz.className} getById(${clazz.attributeList[0].javaDataType} id) throws DataAccessException;
	public List<${clazz.className}> getListByCriteria(${clazz.className} ${clazz.className?uncap_first}) throws DataAccessException;
	public void create(${clazz.className} ${clazz.className?uncap_first}) throws DataAccessException;
	public void update(${clazz.className} ${clazz.className?uncap_first}) throws DataAccessException;
	public void deleteById(${clazz.attributeList[0].javaDataType} id) throws DataAccessException;
}